package com.appkubes.mall.restful.application.user.user.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @Author: Rongjie
 * @Date: 2020/1/12 21:01
 * @Description:
 */
@Data
@ApiModel("用户注册")
public class UserRegisterVO {
    @NotEmpty(message = "不能为空")
    String tel;
    @NotEmpty(message = "不能为空")
    String password;
    @NotEmpty(message = "不能为空")
    String validateCode;

    @ApiModelProperty("渠道标识")
    String utmSource;

    @ApiModelProperty("用户上下级标识")
    String invitorKey;

    @ApiModelProperty("推广员Key")
    String promoterKey;

    @ApiModelProperty("平台(android|ios|pc|ipad)")
//    @Pattern(regexp = "(android|ios|pc|ipad)", message = "平台类型不对")
    String platformType;
}
